<template>
	<view class="complete-view">
		<view class="tips-pane">
			<u-image src="/static/success.png" mode="aspectFill" width="170" height="170" :showMenuByLongpress="false"
				:showLoading="false" :fade="false"></u-image>
			<view class="u-tips-color">把关完成</view>
		</view>
		<view class="u-flex u-row-center u-p-b-40 ">
			<view class="u-m-r-20">
				<u-button type="default" hover-class="none" shape="circle" plain
					@click="$u.route({url:'/pages/index/index',type:'switchTab'})">返回首页</u-button>
			</view>
			<view class="u-m-l-20 ">
				<u-button type="default" hover-class="none" shape="circle" plain
					@click="$u.route('/pages/subpage/order/evaluate',{id:orderId,role,type})">立即评价</u-button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			orderId: String,
			role: String,
			type: {
				type: [Number, String],
				default: 1
			}
		},
		data() {
			return {}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style scoped lang="scss">
	.complete-view {
		height: 100%;
		background-color: #fff;
		position: absolute;
		top: 0;
		width: 100%;
		left: 0;
		z-index: 99;
	}

	.tips-pane {
		background-color: #fff;
		display: flex;
		flex-direction: column;
		align-items: center;
		padding-bottom: 40rpx;
	}
</style>